package com.bit.mybatisdemo.moddle;

public class UserInfoer {
    Integer id;
    String name;
    String major; //专业
    String sno ;//学号
    String department; //学院

    public UserInfoer() {
        this.id = id;
        this.name = name;
        this.major = major;
        this.sno = sno;
        this.department = department;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getMajor() {
        return major;
    }

    public String getSno() {
        return sno;
    }

    public String getDepartment() {
        return department;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "UserInfoer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", major='" + major + '\'' +
                ", sno='" + sno + '\'' +
                ", department='" + department + '\'' +
                '}';
    }
}
